package com.conversationboard.fulltext.data;

import java.sql.Timestamp;

public class ThreadData {

	private int boardId;
	private int threadId;
	private String title;
	private String loginId;
	private String displayName;
	private Timestamp timestamp;
	private boolean deleted;


	public ThreadData(int boardId, int threadId, String title, String displayName, String loginId, Timestamp timestamp, boolean deleted) {

		this.boardId = boardId;
		this.threadId = threadId;
		this.title = title;
		this.displayName = displayName;
		this.loginId = loginId;
		this.timestamp = timestamp;
		this.deleted = deleted;
	}


	public boolean isDeleted() {
		return deleted;
	}


	public void setDeleted(boolean deleted) {
		this.deleted = deleted;
	}


	public int getBoardId() {
		return boardId;
	}


	public void setBoardId(int boardId) {
		this.boardId = boardId;
	}


	public int getThreadId() {
		return threadId;
	}


	public void setThreadId(int threadId) {
		this.threadId = threadId;
	}


	public String getTitle() {
		return title;
	}


	public void setTitle(String title) {
		this.title = title;
	}


	public String getLoginId() {
		return loginId;
	}


	public void setLoginId(String loginId) {
		this.loginId = loginId;
	}


	public String getDisplayName() {
		return displayName;
	}


	public void setDisplayName(String displayName) {
		this.displayName = displayName;
	}


	public Timestamp getTimestamp() {
		return timestamp;
	}


	public void setTimestamp(Timestamp timestamp) {
		this.timestamp = timestamp;
	}

}
